<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <link rel="stylesheet" href="<?php echo RESOURCE_URL;?>/build/kalendae.css" type="text/css">
    <script type="text/javascript" src="<?php echo RESOURCE_URL;?>/build/kalendae.standalone.js"></script>
    <title>KalendaeDemo</title>
</head>
<body>
<p>3指定div使用（多选）：</p>
<div  id="datepk" style="width: 100%;"></div>
</body>
<script type="text/javascript">
    new Kalendae(document.getElementById("datepk"), {
        months:1,
        mode:'multiple',
        subscribe: {
            'date-clicked': function (date) {
                console.log(date._i, this.getSelected());
            }
        }
    });
</script>
</html>